﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Modify.aspx.cs" Inherits="Modify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改页面</title>
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        window.onload = function () {
            gel("btnReg").onclick = doSubmit;
        }
        function doSubmit() {//在此方法内通过JS验证用户输入
            gel("form1").submit();
        }
    </script>
</head>
<body>
<center>
    <form id="form1" runat="server">
        <table id="title" border="0">
            <tr>
                <td>修改界面</td>
            </tr>
		</table>
		<table id="content" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="30%" class="descTd">用户名： </td>
                <td width="35%" ><input  readonly="readonly" value="<%=model.SLoginName %>" type="text" id="txtName" class="inputT" /></td>
                <td class="alertCol"><div id="msgUname" class="errMsg">6-16个英文或数字</div></td>
            </tr>
            <tr>
                <td class="descTd">密&nbsp;&nbsp;&nbsp;码：</td>
                <td ><input name="txtPwd" type="password" id="txtPwd" class="inputT" /></td>
                <td class="alertCol"><div id="msgUpwd" class="errMsg">6-16个英文或数字</div></td>
            </tr>
            <tr>
                <td class="descTd">密码确认：</td>
                <td ><input name="txtPwd2" type="password" id="txtPwd2" class="inputT" /></td>
                <td class="alertCol"><div id="msgUpwd2" class="errMsg">6-16个英文或数字</div></td>
            </tr>
            <tr>
                <td class="descTd">中文名：</td>
                <td ><input name="txtCnName"  type="text" id="txtCnName" value="<%=model.SCnName %>" class="inputT" /></td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="descTd">班&nbsp;&nbsp;&nbsp;级：</td>
                <td align="left" class="rdoTd">
                    <select name="selClasses"><%=GetClass(model.SCID) %></select>
                </td>
                <td></td>
            </tr>
            <tr>
                <td class="descTd">性&nbsp;&nbsp;&nbsp;别：</td>
                <td align="left" style="padding-left:10px;" class="rdoTd">
                    <label style="cursor:pointer;" for="rdoMale">男</label><input id="rdoMale" <%=GetGender(model.SGender,true) %> type="radio" value="1" class="rdoM" name="gender" />
                    <label style="cursor:pointer;" for="rdoW">女</label><input id="rdoW" <%=GetGender(model.SGender,false) %> type="radio" value="0" class="rdoM" name="gender" />
                </td>
                <td></td>
            </tr>
			<tr>
                <td class="descTd">电&nbsp;&nbsp;&nbsp;话：</td>
                <td ><input name="txtTel"  type="text" id="txtTel" value="<%=model.STel %>" class="inputT" /></td>
                <td >
                </td>
            </tr>
			<tr>
                <td class="descTd">验证码：</td>
                <td ><input name="txtCode" type="text" id="txtCode" class="inputT" /></td>
                <td class="alertCol"><div id="Div1" class="errMsg" style="display:block;width:90px;">
                <img id="imgCode" src="VCode.ashx" align="absmiddle" style="margin-right:5px;" />
                <span style="cursor:pointer;" onclick="changeImg();"></span></div></td>
            </tr>
			<tr><td></td>
                <td>
                    <input type="button" id="btnReg" value="确定" class="btnC" />
                    <input type="button" id="btnCancel" value="取消" onclick="window.location='Default.aspx'" class="btnC" />
                </td>
                <td></td>
            </tr>
        </table>
    </form>
</center> 
</body>
</html>
